package com.matt.foundation.constant;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/7/3
 * *******************************
 */
public class AnalysisConstant {
    //例子创建
    public static final int LEADS_CREATED =1;
    //例子到访
    public static final int LEADS_ARRIVAL=2;
    //例子成交
    public static final int LEADS_DEAL=3;

    //例子获取渠道
    public static final int PHONE_CHANNEL=1;

    //合同创建
    public static final int CONTRACT_PRODUCT_NEW=1;
    //合同续约
    public static final int CONTRACT_PRODUCT_RENEWAL=2;


    //结束合同
    public static final int NORMAL_STOP=1;//正常结束
    public static final int UN_NORMAL_STOP=2;//非正常结束

    //续约客户类型
    public static final int RENEWAL_NURSERY=1;//托班续约
    public static final int RENEWAL_EARLY=2;//早教续约

    public static final int NEED_RENEWAL=1;//待续约
    public static final int RENEWALED=2;//已续约

    public static int getLeadsChanel(String leadsChannel){
        return leadsChannel.equals("电话联系") ? 1 : 0;
    }
}
